package com.haste.service;

import org.springframework.stereotype.Service;

/**
 * @ClassName:HystrixServiceImpl
 * @Description:
 * @Author:Haste
 * @Date:2021/2/8 11:38
 */
@Service
public class HystrixServiceImpl implements HystrixService {
    @Override
    public String paymentInfo(Integer id) {
        return "paymentInfo:宕机了宕机了"+id;
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "paymentInfoTimeout：宕机了宕机了"+id;
    }
}
